<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SPHinXsys: SPH::RegressionTestBase&lt; ObserveMethodType &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SPHinXsys
   &#160;<span id="projectnumber">alpha version</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_s_p_h.html">SPH</a></li><li class="navelem"><a class="el" href="class_s_p_h_1_1_regression_test_base.html">RegressionTestBase</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="class_s_p_h_1_1_regression_test_base-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SPH::RegressionTestBase&lt; ObserveMethodType &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>The base of regression test for various method (time-averaged, ensemble-averaged, dynamic time warping)  
 <a href="class_s_p_h_1_1_regression_test_base.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="regression__test__base_8h_source.html">regression_test_base.h</a>&gt;</code></p>

<p>Inherits <a class="el" href="class_observe_method_type.html">ObserveMethodType</a>.</p>

<p>Inherited by <a class="el" href="class_s_p_h_1_1_regression_test_time_averaged.html">SPH::RegressionTestTimeAveraged&lt; ObserveMethodType &gt;</a>.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a4ea3258877fc15a034a28418d6a231e4"><td class="memTemplParams" colspan="2"><a id="a4ea3258877fc15a034a28418d6a231e4"></a>
template&lt;typename... ConstructorArgs&gt; </td></tr>
<tr class="memitem:a4ea3258877fc15a034a28418d6a231e4"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><b>RegressionTestBase</b> (ConstructorArgs &amp;&amp;...args)</td></tr>
<tr class="separator:a4ea3258877fc15a034a28418d6a231e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d5baaed022cb3d9389d8996b7369030"><td class="memItemLeft" align="right" valign="top"><a id="a2d5baaed022cb3d9389d8996b7369030"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>writeToXml</b> (<a class="el" href="class_s_p_h_1_1_observed_quantity_recording.html">ObservedQuantityRecording</a>&lt; VariableType &gt; *observe_method, <a class="el" href="classsize__t.html">size_t</a> iteration=0)</td></tr>
<tr class="separator:a2d5baaed022cb3d9389d8996b7369030"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a409cb51c52710be4e2650fa388248158"><td class="memTemplParams" colspan="2"><a id="a409cb51c52710be4e2650fa388248158"></a>
template&lt;typename ReduceType &gt; </td></tr>
<tr class="memitem:a409cb51c52710be4e2650fa388248158"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><b>writeToXml</b> (<a class="el" href="class_s_p_h_1_1_body_reduced_quantity_recording.html">BodyReducedQuantityRecording</a>&lt; ReduceType &gt; *reduce_method, <a class="el" href="classsize__t.html">size_t</a> iteration=0)</td></tr>
<tr class="separator:a409cb51c52710be4e2650fa388248158"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ead848d98dc58e04b361df4d0f61e9b"><td class="memItemLeft" align="right" valign="top"><a id="a5ead848d98dc58e04b361df4d0f61e9b"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>readFromXml</b> (<a class="el" href="class_s_p_h_1_1_observed_quantity_recording.html">ObservedQuantityRecording</a>&lt; VariableType &gt; *observe_method)</td></tr>
<tr class="separator:a5ead848d98dc58e04b361df4d0f61e9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc6d38aa658da6433a8fd2e6ccac9492"><td class="memTemplParams" colspan="2"><a id="abc6d38aa658da6433a8fd2e6ccac9492"></a>
template&lt;typename ReduceType &gt; </td></tr>
<tr class="memitem:abc6d38aa658da6433a8fd2e6ccac9492"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><b>readFromXml</b> (<a class="el" href="class_s_p_h_1_1_body_reduced_quantity_recording.html">BodyReducedQuantityRecording</a>&lt; ReduceType &gt; *reduce_method)</td></tr>
<tr class="separator:abc6d38aa658da6433a8fd2e6ccac9492"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb832daa1481b690f4f0ad01c8050f64"><td class="memItemLeft" align="right" valign="top"><a id="afb832daa1481b690f4f0ad01c8050f64"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>transposeTheIndex</b> ()</td></tr>
<tr class="separator:afb832daa1481b690f4f0ad01c8050f64"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab244de4e1990290313b96fd77161d139"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_regression_test_base.html#ab244de4e1990290313b96fd77161d139">readResultFromXml</a> ()</td></tr>
<tr class="separator:ab244de4e1990290313b96fd77161d139"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2a4d4a8f5c6776fbfd9050db2bc4bc7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_regression_test_base.html#ad2a4d4a8f5c6776fbfd9050db2bc4bc7">writeResultToXml</a> ()</td></tr>
<tr class="separator:ad2a4d4a8f5c6776fbfd9050db2bc4bc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a017d6bf89639606ab515ba83eca86353"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_regression_test_base.html#a017d6bf89639606ab515ba83eca86353">readResultFromXml</a> (int index_of_run_)</td></tr>
<tr class="separator:a017d6bf89639606ab515ba83eca86353"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af016dfeeaa2a204978c6697ddbe14961"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_regression_test_base.html#af016dfeeaa2a204978c6697ddbe14961">writeResultToXml</a> (int index_of_run_)</td></tr>
<tr class="separator:af016dfeeaa2a204978c6697ddbe14961"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02531aae4e1267c97f9b47b8cb2cd7de"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_regression_test_base.html#a02531aae4e1267c97f9b47b8cb2cd7de">writeToFile</a> (<a class="el" href="classsize__t.html">size_t</a> iteration=0) override</td></tr>
<tr class="separator:a02531aae4e1267c97f9b47b8cb2cd7de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3d8b4dc96c620f87f42c686118428ea"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_regression_test_base.html#ab3d8b4dc96c620f87f42c686118428ea">writeXmlToXmlFile</a> ()</td></tr>
<tr class="separator:ab3d8b4dc96c620f87f42c686118428ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af48d6fc4f929a729e9c409e154e831b3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_regression_test_base.html#af48d6fc4f929a729e9c409e154e831b3">readXmlFromXmlFile</a> ()</td></tr>
<tr class="separator:af48d6fc4f929a729e9c409e154e831b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a60fb692be385f4a16c96389ca972ef55"><td class="memItemLeft" align="right" valign="top"><a id="a60fb692be385f4a16c96389ca972ef55"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>input_folder_path_</b></td></tr>
<tr class="separator:a60fb692be385f4a16c96389ca972ef55"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa601c29517645cdae22f3634d3d9eceb"><td class="memItemLeft" align="right" valign="top"><a id="aa601c29517645cdae22f3634d3d9eceb"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>in_output_filefullpath_</b></td></tr>
<tr class="separator:aa601c29517645cdae22f3634d3d9eceb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a347f9d664a3c5decdd78117abd7ea749"><td class="memItemLeft" align="right" valign="top"><a id="a347f9d664a3c5decdd78117abd7ea749"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>result_filefullpath_</b></td></tr>
<tr class="separator:a347f9d664a3c5decdd78117abd7ea749"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74a2553a1cac6bb2305af2c987b0345d"><td class="memItemLeft" align="right" valign="top"><a id="a74a2553a1cac6bb2305af2c987b0345d"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>runtimes_filefullpath_</b></td></tr>
<tr class="separator:a74a2553a1cac6bb2305af2c987b0345d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7baa9a152badf1a49c5413a66dc4eedd"><td class="memItemLeft" align="right" valign="top"><a id="a7baa9a152badf1a49c5413a66dc4eedd"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>converged</b></td></tr>
<tr class="separator:a7baa9a152badf1a49c5413a66dc4eedd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8fd6fbae61e418693365e0d388598d84"><td class="memItemLeft" align="right" valign="top"><a id="a8fd6fbae61e418693365e0d388598d84"></a>
<a class="el" href="class_s_p_h_1_1_xml_memory_i_o.html">XmlMemoryIO</a>&#160;</td><td class="memItemRight" valign="bottom"><b>xmlmemory_io_</b></td></tr>
<tr class="separator:a8fd6fbae61e418693365e0d388598d84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a035c4a3e83c2d4e1c3ca62135e481903"><td class="memItemLeft" align="right" valign="top"><a id="a035c4a3e83c2d4e1c3ca62135e481903"></a>
<a class="el" href="class_s_p_h_1_1_xml_engine.html">XmlEngine</a>&#160;</td><td class="memItemRight" valign="bottom"><b>observe_xml_engine_</b></td></tr>
<tr class="separator:a035c4a3e83c2d4e1c3ca62135e481903"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeedadf943b08be32872c80d20fd7431d"><td class="memItemLeft" align="right" valign="top"><a id="aeedadf943b08be32872c80d20fd7431d"></a>
<a class="el" href="class_s_p_h_1_1_xml_engine.html">XmlEngine</a>&#160;</td><td class="memItemRight" valign="bottom"><b>result_xml_engine_in_</b></td></tr>
<tr class="separator:aeedadf943b08be32872c80d20fd7431d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90fd31bd5abe8d1870367c428f3e5432"><td class="memItemLeft" align="right" valign="top"><a id="a90fd31bd5abe8d1870367c428f3e5432"></a>
<a class="el" href="class_s_p_h_1_1_xml_engine.html">XmlEngine</a>&#160;</td><td class="memItemRight" valign="bottom"><b>result_xml_engine_out_</b></td></tr>
<tr class="separator:a90fd31bd5abe8d1870367c428f3e5432"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0705d4ed3f991f4315a866424ade9c9d"><td class="memItemLeft" align="right" valign="top"><a id="a0705d4ed3f991f4315a866424ade9c9d"></a>
StdVec&lt; std::string &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>element_tag_</b></td></tr>
<tr class="separator:a0705d4ed3f991f4315a866424ade9c9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af47dd0cde6eba316a163824fd99e1583"><td class="memItemLeft" align="right" valign="top"><a id="af47dd0cde6eba316a163824fd99e1583"></a>
DoubleVec&lt; VariableType &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>current_result_</b></td></tr>
<tr class="separator:af47dd0cde6eba316a163824fd99e1583"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95761d5c640decea61808842fc9fba73"><td class="memItemLeft" align="right" valign="top"><a id="a95761d5c640decea61808842fc9fba73"></a>
DoubleVec&lt; VariableType &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>current_result_trans_</b></td></tr>
<tr class="separator:a95761d5c640decea61808842fc9fba73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afea47b5a032b7f715c21bcb6d39c28e0"><td class="memItemLeft" align="right" valign="top"><a id="afea47b5a032b7f715c21bcb6d39c28e0"></a>
DoubleVec&lt; VariableType &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>result_in_</b></td></tr>
<tr class="separator:afea47b5a032b7f715c21bcb6d39c28e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1a4a486fd9a358d0ee29c66979ff2e6"><td class="memItemLeft" align="right" valign="top"><a id="aa1a4a486fd9a358d0ee29c66979ff2e6"></a>
TripleVec&lt; VariableType &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>result_</b></td></tr>
<tr class="separator:aa1a4a486fd9a358d0ee29c66979ff2e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abadae18ca335e51fb00a8a2f3de21926"><td class="memItemLeft" align="right" valign="top"><a id="abadae18ca335e51fb00a8a2f3de21926"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>snapshot_</b></td></tr>
<tr class="separator:abadae18ca335e51fb00a8a2f3de21926"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2068b6565fc65b33b39dde602af9cf01"><td class="memItemLeft" align="right" valign="top"><a id="a2068b6565fc65b33b39dde602af9cf01"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>observation_</b></td></tr>
<tr class="separator:a2068b6565fc65b33b39dde602af9cf01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0345097222dc55f4f1d30386ac2a2732"><td class="memItemLeft" align="right" valign="top"><a id="a0345097222dc55f4f1d30386ac2a2732"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>difference_</b></td></tr>
<tr class="separator:a0345097222dc55f4f1d30386ac2a2732"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82682022b2c212881fdd3b458da144b3"><td class="memItemLeft" align="right" valign="top"><a id="a82682022b2c212881fdd3b458da144b3"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>number_of_run_</b></td></tr>
<tr class="separator:a82682022b2c212881fdd3b458da144b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a569f3d2d9c31985b090231d3892ca1aa"><td class="memItemLeft" align="right" valign="top"><a id="a569f3d2d9c31985b090231d3892ca1aa"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>label_for_repeat_</b></td></tr>
<tr class="separator:a569f3d2d9c31985b090231d3892ca1aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac085d5ca165e8e7cbac246e4df1757ec"><td class="memItemLeft" align="right" valign="top"><a id="ac085d5ca165e8e7cbac246e4df1757ec"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>number_of_snapshot_old_</b></td></tr>
<tr class="separator:ac085d5ca165e8e7cbac246e4df1757ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;class ObserveMethodType&gt;<br />
class SPH::RegressionTestBase&lt; ObserveMethodType &gt;</h3>

<p>The base of regression test for various method (time-averaged, ensemble-averaged, dynamic time warping) </p>
<p>The results of current run is saved in a vector of vector. The inner vector gives the values on the observations points. The outer vector gives the snap shots of the observations. The results of all runs is saved in a triple vector, where the outermost vector gives the observations of the runs. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="ab244de4e1990290313b96fd77161d139"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab244de4e1990290313b96fd77161d139">&#9670;&nbsp;</a></span>readResultFromXml() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ObserveMethodType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_s_p_h_1_1_regression_test_base.html">SPH::RegressionTestBase</a>&lt; <a class="el" href="class_observe_method_type.html">ObserveMethodType</a> &gt;::readResultFromXml </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>transpose the current result (from snapshot*observation to observation*snapshot). </p>

</div>
</div>
<a id="a017d6bf89639606ab515ba83eca86353"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a017d6bf89639606ab515ba83eca86353">&#9670;&nbsp;</a></span>readResultFromXml() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ObserveMethodType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_s_p_h_1_1_regression_test_base.html">SPH::RegressionTestBase</a>&lt; <a class="el" href="class_observe_method_type.html">ObserveMethodType</a> &gt;::readResultFromXml </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index_of_run_</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>write the result to the .xml file. (all result) </p>

</div>
</div>
<a id="af48d6fc4f929a729e9c409e154e831b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af48d6fc4f929a729e9c409e154e831b3">&#9670;&nbsp;</a></span>readXmlFromXmlFile()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ObserveMethodType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_s_p_h_1_1_regression_test_base.html">SPH::RegressionTestBase</a>&lt; <a class="el" href="class_observe_method_type.html">ObserveMethodType</a> &gt;::readXmlFromXmlFile </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>read current result from Xml file into Xml memory. </p>

</div>
</div>
<a id="ad2a4d4a8f5c6776fbfd9050db2bc4bc7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad2a4d4a8f5c6776fbfd9050db2bc4bc7">&#9670;&nbsp;</a></span>writeResultToXml() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ObserveMethodType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_s_p_h_1_1_regression_test_base.html">SPH::RegressionTestBase</a>&lt; <a class="el" href="class_observe_method_type.html">ObserveMethodType</a> &gt;::writeResultToXml </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>read the result from the .xml file. (all result) </p>

</div>
</div>
<a id="af016dfeeaa2a204978c6697ddbe14961"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af016dfeeaa2a204978c6697ddbe14961">&#9670;&nbsp;</a></span>writeResultToXml() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ObserveMethodType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_s_p_h_1_1_regression_test_base.html">SPH::RegressionTestBase</a>&lt; <a class="el" href="class_observe_method_type.html">ObserveMethodType</a> &gt;::writeResultToXml </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index_of_run_</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>write result to .xml (with different data structure to Base), here is observation * snapshot, which can be used for TA and DTW methods. </p>

</div>
</div>
<a id="a02531aae4e1267c97f9b47b8cb2cd7de"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a02531aae4e1267c97f9b47b8cb2cd7de">&#9670;&nbsp;</a></span>writeToFile()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ObserveMethodType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_s_p_h_1_1_regression_test_base.html">SPH::RegressionTestBase</a>&lt; <a class="el" href="class_observe_method_type.html">ObserveMethodType</a> &gt;::writeToFile </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsize__t.html">size_t</a>&#160;</td>
          <td class="paramname"><em>iteration</em> = <code>0</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>the interface to write observed quantity into xml memory. </p>

</div>
</div>
<a id="ab3d8b4dc96c620f87f42c686118428ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab3d8b4dc96c620f87f42c686118428ea">&#9670;&nbsp;</a></span>writeXmlToXmlFile()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ObserveMethodType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_s_p_h_1_1_regression_test_base.html">SPH::RegressionTestBase</a>&lt; <a class="el" href="class_observe_method_type.html">ObserveMethodType</a> &gt;::writeXmlToXmlFile </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>the interface to write xml memory into Xml file. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>SPHINXsys/src/shared/regression_test/<a class="el" href="regression__test__base_8h_source.html">regression_test_base.h</a></li>
<li>SPHINXsys/src/shared/regression_test/<a class="el" href="regression__test__base_8hpp_source.html">regression_test_base.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
